package cn.buk.tms.eotms.dto;

import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;


/**
 * 机票订单的乘机人信息
 * @author yfdai
 */
public class HotelOrderPassengerDto {

    private int id;

    /**
     * 入住人姓名
     */
    @NotNull
    @Length(min = 2, message = "入住人姓名")
    private String name;

    /**
     * 证件类型
     */
    private int idType;

    /**
     * 证件号
     */
    private String idNo;

    /**
     * 手机
     */
    private String mobile;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIdType() {
        return idType;
    }

    public void setIdType(int idType) {
        this.idType = idType;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
